/** sampleKeyC in ThisBuild in a .sbt file is equivalent to placing a setting in the Build.settings list in a .scala file. sbt takes build-scoped settings from both places to create the build definition. */
sampleKeyC in ThisBuild := "C: in build.sbt scoped to ThisBuild"

sampleKeyD := "D: in build.sbt"

name := baseDirectory.value.getName

/** Per-configuration dependencies */
// > show compile:dependencyClasspath
// [info] List(Attributed(C:\Users\yuazhu\.sbt\boot\scala-2.10.4\lib\scala-library.jar), Attributed(C:\Users\yuazhu\.ivy2\cache\org.apache.derby\derby\jars\derby-10.4.1.3.jar))
// [success] Total time: 0 s, completed Apr 1, 2015 4:37:54 PM
// > show test:dependencyClasspath
// [info] List(Attributed(C:\Users\yuazhu\workspace_intellij\first-scala\sbtTutorial\buildDef\target\scala-2.10\classes), Attributed(C:\Users\yuazhu\.sbt\boot\scala-2.10.4\lib\scala-library.jar), Attributed(C:\Users\yuazhu\.ivy2\cache\org.apache.derby\derby\jars\derby-10.4.1.3.jar), Attributed(C:\Users\yuazhu\.ivy2\cache\junit\junit\jars\junit-4.12.jar), Attributed(C:\Users\yuazhu\.ivy2\cache\org.hamcrest\hamcrest-core\jars\hamcrest-core-1.3.jar))
// [success] Total time: 0 s, completed Apr 1, 2015 4:38:20 PM
libraryDependencies ++= Seq(
  "org.apache.derby" % "derby" % "10.4.1.3",
  "junit" % "junit" % "4.12" % Test
)

/** Resolvers */
// resolvers does not contain the default resolvers; only additional ones added by your build definition.
// sbt combines resolvers with some default repositories to form externalResolvers.
// Therefore, to change or remove the default resolvers, you would need to override **externalResolvers** instead of resolvers.
resolvers += Resolver.mavenLocal